import request from '@/utils/request'
var qs = require('qs')
export function getPartyBranchType(params) {
  return request({
    url: 'dzbIndexType/list',
    method: 'post',
    data: qs.stringify(params)
  })
}

export function addPartyBranchType(params) {
  return request({
    url: 'dzbIndexType/save',
    method: 'post',
    data: qs.stringify(params)
  })
}

export function deletePartyBranchType(params) {
  return request({
    url: 'dzbIndexType/delete',
    method: 'post',
    data: qs.stringify(params)
  })
}

export function searchPartyBranchType(params) {
  return request({
    url: 'dzbIndexType/view',
    method: 'post',
    data: qs.stringify(params)
  })
}
